﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using TalentRecruitmentSystem.Service;

namespace TalentRecruitmentSystem.Manage
{
    public class UserInfoManage
    {
        UserInfoService us = new UserInfoService();
        public bool Add(UserInfo userinfo)
        {
            return us.add(userinfo);
        }
        public UserInfo getUserInfoByUserName(string username)
        {
            return us.getUserInfoByUserName(username);
        }
        public bool UpdateUserInfo(UserInfo userinfo)
        {
            return us.updateUserInfo(userinfo);
        }
        public List<UserInfo> GetUserInfosByParameter(string position, string workpalce, string education)
        {
            return us.getUserInfosByParameter(position, workpalce, education);
        }
    }
}